package com.esun.cheetah.biz.personal.attention;

import java.util.HashMap;

import org.json.JSONException;

import android.os.Handler;

import com.esun.cheetah.biz.personal.personalinfo.UserInfo;
import com.esun.cheetah.config.BizCode;
import com.esun.cheetah.config.Key;
import com.esun.cheetah.network.AbsInferiorityCommunicater;

/**
 * 取消关注球队 com.esun.cheetah.view.personal.CancelAttenTeam
 * 
 * @author 任付江create at 2012-4-23 上午11:30:16
 */
public class CancelAttenTeam extends AbsInferiorityCommunicater {
	/** 标志id */
	private String id;

	public CancelAttenTeam(Handler handler, String id) {
		super(handler);
		this.id = id;
	}

	@Override
	public HashMap<String, String> comHashMap() {
		HashMap<String, String> cancelAttenTeam = new HashMap<String, String>();
		cancelAttenTeam.put(Key.KEY_ID, BizCode.DELETE_ATTEN_TEAM);
		cancelAttenTeam.put(Key.KEY_USERNAME, UserInfo.getUserInfo()
				.getUserName());
		cancelAttenTeam.put(Key.TEAM_ID_FLAG, id);
		return cancelAttenTeam;
	}

	@Override
	public void getJsonContent(String serverRes) throws JSONException {
	}
}